From: sorelz Date: Mon, 1 Jul 2024 23:52:33 +0000 (-0400) Subject: appDisplay: Use navigate_focus() to keep focus after editing app folder title X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~22 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a04b35b569e9e5c6237dd6c82bbdfa253d6bd4a3;p=gnome-shell.git appDisplay: Use navigate_focus() to keep focus after editing app folder title The AppFolderDialog would lose keyboard focus after editing the title (likely due to the folder entry grabbing key focus). This commit adds navigate_focus() to _showFolderLabel() to send key focus back to the dialog's elements after editing the title. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 9b352e618..b3946cd66 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2661,6 +2661,7 @@ export const AppFolderDialog = GObject.registerClass({ this._maybeUpdateFolderName(); this._switchActor(this._entry, this._folderNameLabel); + this.navigate_focus(this, St.DirectionType.TAB_FORWARD, false); } _showFolderEntry() {